package cn.hznc.dto;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;

/**
 * @Author：Administrator
 * @Date：2023/8/3 10:20
 */
@Getter
@Setter
public class AbutmentInboundExport{

    @ExcelProperty(value = "物料编码" , index = 0)
    private String partno;

    @ExcelProperty(value = "物料名称" , index = 1)
    private String materialName;

    @ExcelProperty(value = "物料型号" , index = 2)
    private String partType;

    @ExcelProperty(value = "入库数量" , index = 3)
    private String number;

    @ExcelProperty(value = "操作工号" , index = 4)
    private String employeeNo;

    @ExcelProperty(value = "操作工姓名" , index = 5)
    private String operator;

    @ExcelProperty(value = "入库日期" , index = 6)
    @JSONField(format = "yyyy-MM-dd")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    private String operateTime;

    @ExcelProperty(value = "存放库位" , index = 7)
    private String storageLocation;

    @ExcelProperty(value = "备注" , index = 8)
    private String bz;

    @ExcelProperty(value = "制单人" , index = 9)
    private String creator;

    @ExcelProperty(value = "制单日期" , index = 10)
    @JSONField(format = "yyyy-MM-dd")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    private String createTime;

    @ExcelProperty(value = "单据编号" , index = 11)
    private String documentNumber;

    @ExcelProperty(value = "单据序号" , index = 12)
    private String documentNo;
}
